import { Routes } from '@angular/router'

export const appRoutes: Routes = [
  {
    path: '',
    redirectTo: 'login',
    pathMatch: 'full'
  }, {
    path: '',
    loadChildren: './components/auth/auth.module#AuthModule'
  }, {
    path: 'workspace',
    loadChildren: './components/workspace/workspace.module#WorkspaceModule'
  }
  //404
  // , {
  //     path: '*',
  //     loadChildren: './workspace/workspace.module#WorkspaceModule'
  // }
]